//
//  WCHospitalCell.m
//  WC
//
//  Created by wsj2015 on 15/9/16.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCHospitalCell.h"
#import "WCImageView +setImage.h"
#import "Macros.h"
@implementation WCHospitalCell

- (void)awakeFromNib {
    // Initialization code
//    self.addressLabel.textColor =[UIColor orangeColor];
    self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    

    // Configure the view for the selected state
}
- (void)configWith:(WCHospital *)hospital
{
    [self.hospitalIcon wsjSetImageWithUrl:hospital.hospitalImage withPlaceImageName:@"hospital_placehoder"];
    self.hospitalNameLabel.text =hospital.name;
    self.addressLabel.text =hospital.address;
    
 

}
@end
